using System;

namespace CastleSample.Exceptions
{
    [Serializable]
    public class OrderNotExistException : CastleSampleException
    {
        private Guid m_OrderId;

        public Guid OrderId
        {
            get { return m_OrderId; }
        }

        public OrderNotExistException(Guid orderId) : this(orderId, "")
        {
        }

        public OrderNotExistException(Guid orderId, string message) : this(orderId, message, null)
        {
        }

        public OrderNotExistException(Guid orderId, string message, Exception innerException)
            : base(message, innerException)
        {
            m_OrderId = orderId;
        }
    }
}